03 / 04

What is a cluster placement group?

A cluster placement group packs EC2 instances close together within a single Availability Zone, providing low latency and high network throughput (up to 10 Gbps or more) ideal for tightly coupled, high-performance computing workloads.

A cluster placement group places EC2 instances into a single Availability Zone, packing them close together on the same high-bandwidth, low-latency network fabric. This configuration enables instances to achieve non-blocking 10 Gbps network performance (up to 100 Gbps on compatible instance types) and single-digit millisecond latency. Cluster groups are ideal for tightly coupled, latency-sensitive workloads where inter-instance communication is critical, such as high-performance computing (HPC), financial simulations, and large-scale machine learning training.

Create and Use a Cluster Placement Group
Cluster Placement Group Requirements
  1. 1

    All instances must be in the same Availability Zone

  2. 2

    Use instance types that support enhanced networking and placement group awareness (e.g., C5n, M5n, R5n, P3dn)

  3. 3

    Recommended to launch all instances in the same request or use launch templates for consistent placement

  4. 4

    Maximum of 20 instances per placement group, though you can request a higher limit by contacting AWS Support

  5. 5

    Use Elastic Fabric Adapter (EFA) for even lower latency and higher throughput on compatible instances

Best Use Cases
  1. 1

    High-performance computing (HPC) clusters

  2. 2

    Large-scale simulations (computational fluid dynamics, weather modeling)

  3. 3

    Financial risk modeling and real-time trading analytics

  4. 4

    Machine learning distributed training (e.g., TensorFlow, PyTorch with Horovod)

  5. 5

    Real-time data processing with low-latency requirements

  6. 6

    Network-bound applications requiring non-blocking 10 Gbps+ throughput